/*
* @Author: 窦子滨<zibin_5257@163.com>
* @Date: 2019-05-07 11:06
 */
package main

import(
	"lanfengye/base/etcd"
)

//自动发现微服务

var autoService etcd.MasterInteface

func initEtcd(){
	if Config.Etcd.Switch{
		autoService,_ = etcd.NewMaster(etcdServers, "services/")
	}
}